<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box {
        margin: 100px auto;
        width: 200px;
        height: 200px;
        background-color: pink;
        transition: all 2s;
      }
      .box:hover {
        transform: rotate(-360deg);
      }
    </style>
  </head>
  <body>
    <div class="box"></div>
  </body>
</html>
